package cn.hotel.service;

import cn.hotel.entity.RoomType;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;

import java.util.List;


public interface RoomTypeService {
    public List<RoomType> queryAllRoomType();

    //配置分页
    PageInfo<RoomType> queryList(Integer page , Integer pageSize);

    public int updateRoomRest(Integer typeId,String operate);



    //根据roomTypeId查询房间类被信息
    RoomType queryRoomTypeByRoomTypeId(Integer typeId);

    //更新roomType信息
    void updateRoomType(RoomType roomType);

    //插入roomType信息
    void insertRoomType(RoomType roomType);

    //根据id删除房间类别信息
    void deleteRoomTypeByRoomId(int roomId);
}
